import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElIcons from  '@element-plus/icons-vue'
import router from '../config/router.js'



const app=createApp(App);
for (const name in ElIcons) {
   app.component(name,ElIcons[name]);
}
app.use(ElementPlus);
app.use(router);


app.mount('#app');
